
var pos = {}

pos.pos_dir = "D:/workspace/icbc_pos/2016MIS/";
pos.pos_in = pos.pos_dir + "xyktr.in";
pos.pos_out = pos.pos_dir + "xyktr.Out";

var v = 1;	  	
$("#btn_click").click(function () {
	// body...
	v++;

	var hostName = "com.google.chrome.bbb";
	var port = chrome.runtime.connectNative(hostName);

	$("#p_text").html(v);
});

$("#btn_click_jar").click(function () {
	// body...
	v++;

	var hostName = "com.google.chrome.bbb";
	var port = chrome.runtime.connectNative(hostName);

	$("#p_text").html(v);
});

$("#btn_click_wfile").click(function(){
	v = 100;
	// var reader = new FileReader();

	v = displayPath(pos.pos_in);

	$("#p_text").html(v);
});

$("#btn_click_rfile").click(function(){
	v = 200;

	v = displayPath(pos.pos_out);

	$("#p_text").html(v);
});
